﻿<%@ Control Language="C#" AutoEventWireup="true" Codebehind="NewsInEventList.ascx.cs"
    Inherits="NCS.Module.CMS.Web.HomePage.NewsInEventList" %>
<%@ Register Assembly="NCS.Library" Namespace="NCS.Library.Controls" TagPrefix="cc2" %>
<%@ Import Namespace="NCS.Library.Utilities" %>
<div class="box_news_main">
    <!--begin title nhom tin-->
    <div class="tittle_tinchinh">
        <div class="text_tittle2">
            <a class="text_tinhoatdong" href="javascript:;" style="float: left; text-transform:uppercase;">
                <asp:Label ID="lblZoneName" runat="server">Tin m&#7899;i nh&#7853;n</asp:Label>
            </a>
        </div>
        <div class="text_tittle2_right">
            <span style='color: gray; font-size: 11px; font-weight: bold;'>
                <% = DateTime.Now.ToString("dd/MM/yyyy hh:mm:ss tt")%>
            </span>
        </div>
    </div>
    <div class="bg_tittle_sub">
        <div class="link_allevent">
            <a href="<% = this.BuildUrlbyEvent() %>">Tất cả chuyên đề</a>
        </div>
        <asp:Repeater ID="rpt_head" runat="server" OnItemDataBound="rpt_head_ItemDataBound">
            <HeaderTemplate>
            </HeaderTemplate>
            <ItemTemplate>
                <div class="tinnoibat_home" style="margin-bottom: 5px;">
                    <asp:Literal ID="lttImg" runat="server"></asp:Literal>
                    <div>
                        <%#NCS.Library.Utilities.ConvertUtility.ToStringWithoutFontBold(Convert.ToString(Eval("Content_Teaser")), NCS.Module.CMS.Library.Definitions.Constants.LengthLeftTeaser)%>
                    </div>
                </div>
            </ItemTemplate>
            <FooterTemplate>
            </FooterTemplate>
        </asp:Repeater>
    </div>
</div>
